package com.company.management.controller.report.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.List;

@Data
public class UserDepRespVO {
    private Integer id;
    private String name;
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private List<UserDepRespVO> children;

    public UserDepRespVO(Integer id, String name) {
        this.id = id;
        this.name = name;
    }
}
